package com.mchat.exceptions;

public class CommonException extends RuntimeException{
    int code=0;
    String title;
    public CommonException(String message) {
        super(message);
        this.code=400;
        this.title="执行失败";
    }
    public CommonException(String message,int code) {
        super(message);
        this.code=code;
    }
    public CommonException(String message,int code,String title) {
        super(message);
        this.code=code;
        this.title=title;
    }

}
